package com.apes.framework.util;

import com.apes.framework.api.SpringManager;
import com.apes.oap.RopContext;
import com.apes.oap.ServiceRouter;

import java.util.Map;

/**
 * 功能：Rop相关工具类
 *
 * @author xul
 * @create 2018-01-11 15:30
 */
public class RopUtil {

    public static ServiceRouter getServiceRouter() {
        return SpringManager.getBean(ServiceRouter.class);
    }

    public static RopContext getRopContext(){
        return getServiceRouter().getRopContext();
    }

}
